package com.yang.mapper;

import com.yang.pojo.Student;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: TODO
 * @Author: Yang
 * @DateTime: 2024/6/3 10:37
 **/
public interface StudentMapper {
    public int insert(Student student);
    public int delete(Integer id);
    public int update(@Param("id") Integer id,@Param("age") Integer age);
    public Student queryById(Integer id);
    public List<Student> list();
}
